package com.nwpu.coursesupport.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.nwpu.coursesupport.entity.bean.BaseEntity;

public class Course extends BaseEntity{

	private String courseCode;
    private String name;
    private int courseHour;
    private double credit;
    private int sumWeeks;
    private String description;
    private Double taskGradeRatio;
    private Double dailyGradeRatio;
    private Double theoryGradeRatio;
    private Double labGradeRatio;
    private Integer tid;
    private String tname;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date createDate;
    private Integer createId;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date updateDate;
    private Integer updateId;
    private Teacher teacher;
    
    private String image;
    
    
	public String getCourseCode() {
		return courseCode;
	}
	public void setCourseCode(String courseCode) {
		this.courseCode = courseCode;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getCourseHour() {
		return courseHour;
	}
	public void setCourseHour(int courseHour) {
		this.courseHour = courseHour;
	}
	public double getCredit() {
		return credit;
	}
	public void setCredit(double credit) {
		this.credit = credit;
	}
	public int getSumWeeks() {
		return sumWeeks;
	}
	public void setSumWeeks(int sumWeeks) {
		this.sumWeeks = sumWeeks;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Integer getTid() {
		return tid;
	}
	public void setTid(Integer tid) {
		this.tid = tid;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Integer getCreateId() {
		return createId;
	}
	public void setCreateId(Integer createId) {
		this.createId = createId;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public Integer getUpdateId() {
		return updateId;
	}
	public void setUpdateId(Integer updateId) {
		this.updateId = updateId;
	}
	public Teacher getTeacher() {
		return teacher;
	}
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	public String getTname() {
		return tname;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	public Double getTaskGradeRatio() {
		return taskGradeRatio;
	}
	public void setTaskGradeRatio(Double taskGradeRatio) {
		this.taskGradeRatio = taskGradeRatio;
	}
	public Double getDailyGradeRatio() {
		return dailyGradeRatio;
	}
	public void setDailyGradeRatio(Double dailyGradeRatio) {
		this.dailyGradeRatio = dailyGradeRatio;
	}
	public Double getTheoryGradeRatio() {
		return theoryGradeRatio;
	}
	public void setTheoryGradeRatio(Double theoryGradeRatio) {
		this.theoryGradeRatio = theoryGradeRatio;
	}
	public Double getLabGradeRatio() {
		return labGradeRatio;
	}
	public void setLabGradeRatio(Double labGradeRatio) {
		this.labGradeRatio = labGradeRatio;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	
}